Windows Script Host
Windows Script Host https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2003/cc784547(v=ws.10)
Windows Scripting の一部分として存在
API はここを参照
Reference (Windows Script Host) https://docs.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-developer/windows-scripting/98591fh7(v=vs.84)
WSH と略される。
以前は Windows Scripting Host と呼ばれていた。
Windows 用
テキストで書かれたスクリプトを実行する仕組み。
任意のスクリプト言語のバインディングを行う仕組み。
非公式のスクリプト言語が多数サポートされた。
cscript コマンド、wscript コマンドで実行される。
https://docs.microsoft.com/ja-jp/windows-server/administration/windows-commands/cscript
https://docs.microsoft.com/ja-jp/windows-server/administration/windows-commands/wscript
VBScript, JScript を実行することができる。
COM オブジェクトの呼び出しができる。
PowerShell によってその役目を終えた。
関連
Windows Scriping https://docs.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-developer/windows-scripting/bstcxhf7(v=vs.84)
WshShell Object https://docs.microsoft.com/en-us/previous-versions/aew9yb99(v=vs.85)
Windows Shell https://docs.microsoft.com/en-us/windows/win32/shell/shell-entry
CreateObject で使えるので参考に
Internet Explorer https://docs.microsoft.com/en-us/previous-versions/windows/internet-explorer/
関連の API が載っている
参考
https://en.wikipedia.org/wiki/Windows_Script_Host
Windows管理者のためのWindows Script Host入門 第1回 WSHの内部構造
https://www.atmarkit.co.jp/ait/articles/0312/18/news002.html